package com.qianfeng.ls.mapper;
import	java.lang.reflect.Parameter;

import com.qianfeng.ls.entity.OrderEntity;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper {


    /**
     * 创建订单信息
     * @param orderEntiy
     * @return
     */
    public boolean addOrder(OrderEntity orderEntiy);

    /**
     * 创建订单详情
     * @param gids
     * @param oid
     * @return
     */
    public boolean addOrderDetail(@Param("gids") String[] gids, @Param("oid") String oid);


    /**
     * 将我们的订单设置成失效
     * @param oid
     * @return
     */
    public boolean updStatus(@Param("oid") String oid);

}
